package com.hfzy.ihk.facade.userCenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.hfzy.ihk.common.facade.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.util.Date;

import com.hfzy.ihk.facade.userCenter.enums.OptType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用于集成spring security
 * </p>
 *
 * @author wws
 * @since 2018-12-28
 */
@Data
@Accessors(chain = true)
public class Log implements BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer version;

    private String tableName;

    /**
     * 什么操作
     */
    private OptType optType;

    /**
     * 配套
     */
    private String content;

    private Integer refId;

    private Integer createUserId;

    private Date createTime;

    public Integer getId() {
        return id;
    }
}
